gl: Move texture uploading to the renderer
authorBenjamin Otte <otte@redhat.com>
Tue, 12 Oct 2021 13:04:43 +0000 (15:04 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 13 Oct 2021 12:33:44 +0000 (14:33 +0200)
commit5199bebdb50cc261a6dba1accf567d26e29d9d1b
treea8cb4f84c75890eee6067d76c09a8d8a0971e274
parent31e9072906e746979b89e6a58e00cfef35ee3734
gl: Move texture uploading to the renderer

It does not belong in GdkGLContext, it's a renderer thing.
It's also the only user of that API.

Introduce gdk_gl_context_check_version() private API to make version
checks simpler.
gdk/gdkglcontext.c
gdk/gdkglcontextprivate.h
gsk/gl/gskglcommandqueue.c